{include file="public/header" /}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.css"}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.js"}
<style>
    #des, #des input {
        width: 40px;
        text-align: center;
    }

    #id {
        width: 78px;
    }

    .bs-checkbox {
        width: 36px;
        height: 40px
    }

    .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
        margin-left: 0px;
        margin-top: 0px
    }

    #title span {
        float: right;
        margin-left: 3.333px;
    }

    .search {
        margin-bottom: 0px !important;
    }

    .asdlkjasd {
        background: #1ab394;
        color: #fff
    }

</style>
 <body class="gray-bg">
 <div class="wrapper wrapper-content {:config('adminClass.main')}">
    <div class="ibox float-e-margins">
        {include file="public/tophead"}
        {include file="public/top" /}
        <div class="ibox-content">
        {include file="public/topsection"}
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="example">
<!--                        <p>{$statsMsg.today|default='暂无统计数据'}</p>-->
<!--                        <p>{$statsMsg.total|default='暂无统计数据'}</p>-->
                        <form class="form-horizontal" method="post">
                        <table data-toggle="table">
                            <thead>
                                <tr>
                                    <th data-align="center">序号</th>
                                    <th data-align="center">数据ID</th>
                                    <th data-align="center">邀请人</th>
                                    <th data-align="center">被邀请人</th>
                                    <th data-align="center">邀请类型</th>
                                    <th data-align="center">绑定时间</th>
                                    <th data-align="center">绑定状态</th>
                                </tr>
                            </thead> 
                            <tbody id="form">
                                {volist name="data" id="v"}
                                <tr id="id{$v.id}" class="class">
                                    <td>{$i}</td>
                                    <td id="id">{$v.id}</td>

                                    <td >
                                        {$v.user_name}({$v.user_id})
                                    </td>
                                    <td >
                                        {$v.touser_name}({$v.touserid})
                                    </td>
                                    <td >
                                        {eq name="$v.way" value="1"}扫码绑定{/eq}
                                        {eq name="$v.way" value="2"}注册填写{/eq}
                                        {eq name="$v.way" value="3"}后台绑定{/eq}
                                    </td>
                                    <td>
                                        <span {php}if(date('Y-m-d')==date('Y-m-d', $v['create_time']))echo 'style="color: #ed5565"';{/php}>
                                        {:date('Y-m-d H:i', $v.create_time)}
                                        </span>
                                    </td>
                                    <td >
                                        {eq name="$v.state" value="-1"}<span style="color:red;">解绑</span>{/eq}
                                        {eq name="$v.state" value="0"}<span style="color:red;">取消绑定</span>{/eq}
                                        {eq name="$v.state" value="1"}<span style="color:green;">正常绑定</span>{/eq}
                                    </td>
                                </tr>
                                {/volist}
                            </tbody>                          

                        </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-12 pages">{$page}</div>
</div>
{include file="public/footer" /}

 